﻿@model PhoneBilling.Models.Report7ResultModel
@{
    ViewBag.Title = "话务状况统计";
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}
<script type="text/javascript">
    function back() {
        history.go(-1); //后退1页  
    }  
</script>
@using (Html.BeginForm("Report7", "Statistics"))
{
    @Html.HiddenFor(m => m.开始日期)
    @Html.HiddenFor(m => m.结束日期)
    @Html.Hidden("IsExport", true)
    <input type="button" value="返回" onclick="back()"/>  
    <input type="submit" value="导出Excel"/> 
    <div>
        @{
    var grid = new WebGrid(source: Model.List, canPage: false);
        }
        @grid.GetHtml(
            alternatingRowStyle: "bg",
            columns: grid.Columns
            (
                  grid.Column("日期", "日期"),
                    grid.Column("话单总数", "话单总数"),
                    grid.Column("不明话单数目", "不明话单数目"),
                       grid.Column("重复话单数目", "重复话单数目"),
                       grid.Column("最大通话金额", "最大通话金额"),
                       grid.Column("最大通话时长", "最大通话时长")
            )
        )
    </div>
}
